Cocktail Help Reference
EntityChanged Event
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > EntityManagerProvider<T> Class : EntityChanged Event



Glossary Item Box

Fired whenever an entity's state has changed in any significant manner.

Syntax

Visual Basic (Declaration) 
Public Event EntityChanged As EventHandler(Of EntityChangedEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As EntityManagerProvider(Of T)
Dim handler As EventHandler(Of EntityChangedEventArgs)
 
AddHandler instance.EntityChanged, handler
C# 
public event EventHandler<EntityChangedEventArgs> EntityChanged
C++/CLI 
public:
event EventHandler<EntityChangedEventArgs^>^ EntityChanged

Event Data

The event handler receives an argument of type IdeaBlade.EntityModel.EntityChangedEventArgs containing data related to this event. The following EntityChangedEventArgs properties provide information specific to this event.

PropertyDescription
Action  
Entity (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) 
EntityAspect (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) 
NativeEntity (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) 

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.